package lumis.service.report.control;

import lumis.portal.PortalException;
import lumis.portal.report.ReportType;

import org.w3c.dom.Node;

/**
 * Control that renders runtime parameters controls.
 *
 * @version $Revision: 9285 $ $Date: 2008-05-14 17:36:34 -0300 (Wed, 14 May 2008) $
 * @since 4.1.0
 */
public class RuntimeParametersControl extends BaseParametersControl
{

	@Override
	protected Node getSourceNode(ReportType reportTypeConfig) throws PortalException
	{
		return reportTypeConfig.getRuntimeParametersSourceNode();
	}

	@Override
	protected Node getControlsNode(ReportType reportTypeConfig) throws PortalException
	{
		return reportTypeConfig.getRuntimeParametersControlsNode();
	}

}
